package com.example.levine.taobaolivecheck;

import java.util.List;

/**
 * Created by Levine on 2018/3/20.
 */

public class EntityLiveCheck {

    /**
     * code : 200
     * data : {"has_next":false,"has_prev":false,"rooms":[{"according_to":"26924265","add_time":1521181530,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=26924265","cover":"http://img.jadelibrary.com/1521181529558.jpg","description":"","live_id":226,"platform":"taobao","title":"玉器来看看"},{"according_to":"http://m.tb.cn/h.WurmO8d","add_time":1520262750,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=http://m.tb.cn/h.WurmO8d","cover":"http://img.jadelibrary.com/TGX/files/demand/publish/201803052309319612.jpg","description":"","live_id":222,"platform":"taobao","title":"看看我怎么帮你们淘翡翠。"},{"according_to":"http://m.tb.cn/h.WurZaSC","add_time":1520260974,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=http://m.tb.cn/h.WurZaSC","cover":"http://img.jadelibrary.com/TGX/files/demand/publish/201803052242035387.jpg","description":"","live_id":221,"platform":"taobao","title":"翡翠加工源头只为高性价比而生"},{"according_to":"3246941648","add_time":1520047247,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=3246941648","cover":"http://img.jadelibrary.com/1520047245532.jpg","description":"","live_id":220,"platform":"taobao","title":"玉石吊坠挂件"},{"according_to":"671227122","add_time":1520046968,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=671227122","cover":"http://img.jadelibrary.com/1520046966687.jpg","description":"","live_id":219,"platform":"taobao","title":"玉石吊坠挂件"},{"according_to":"26924265","add_time":1520043639,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=26924265","cover":"http://img.jadelibrary.com/1520043638711.jpg","description":"","live_id":217,"platform":"taobao","title":"翡翠玉器手镯戒指"},{"according_to":"2680503052","add_time":1520043388,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=2680503052","cover":"http://img.jadelibrary.com/1520043387397.jpg","description":"","live_id":216,"platform":"taobao","title":"翡翠挂件吊坠手镯"},{"according_to":"2680462791","add_time":1520042270,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=2680462791","cover":"http://img.jadelibrary.com/1520042269122.jpg","description":"","live_id":215,"platform":"taobao","title":"翡翠玉器摆件挂件吊坠"},{"according_to":"2206361409","add_time":1520041283,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=2206361409","cover":"http://img.jadelibrary.com/1520041282605.jpg","description":"","live_id":214,"platform":"taobao","title":"玉石手镯吊坠"},{"according_to":"395160149","add_time":1519719859,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://img.jadelibrary.com/image/b53d987c2b6ac1b635f2dbecfb3a0d39.jpg","description":"","live_id":198,"platform":"taobao","title":"淘宝直播间"},{"according_to":"395160149","add_time":1518328343,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://img.jadelibrary.com//TGX/files/demand/publish/201802111350575643.jpg","description":"","live_id":118,"platform":"taobao","title":"微信-淘宝测试"},{"according_to":"395160149","add_time":1518314324,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://img.jadelibrary.com/TGX/files/demand/publish/201802131830342535.jpg","description":"","live_id":89,"platform":"taobao","title":"小林直播间"},{"according_to":"395160149","add_time":1511920837,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://jadebox.oss-cn-beijing.aliyuncs.com/1511920838770.jpg","description":"测试卡","live_id":30,"platform":"taobao","title":""},{"according_to":"3155391217","add_time":1510566544,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=3155391217","cover":"http://jadebox.oss-cn-beijing.aliyuncs.com/1510566532391.jpg","description":"发的方法","live_id":18,"platform":"taobao","title":""},{"according_to":"395160149","add_time":1507888598,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://jadebox.oss-cn-beijing.aliyuncs.com/TGX/files/demand/publish/201712201111401316.jpg","description":"OK","live_id":2,"platform":"taobao","title":""}]}
     * msg :
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * has_next : false
         * has_prev : false
         * rooms : [{"according_to":"26924265","add_time":1521181530,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=26924265","cover":"http://img.jadelibrary.com/1521181529558.jpg","description":"","live_id":226,"platform":"taobao","title":"玉器来看看"},{"according_to":"http://m.tb.cn/h.WurmO8d","add_time":1520262750,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=http://m.tb.cn/h.WurmO8d","cover":"http://img.jadelibrary.com/TGX/files/demand/publish/201803052309319612.jpg","description":"","live_id":222,"platform":"taobao","title":"看看我怎么帮你们淘翡翠。"},{"according_to":"http://m.tb.cn/h.WurZaSC","add_time":1520260974,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=http://m.tb.cn/h.WurZaSC","cover":"http://img.jadelibrary.com/TGX/files/demand/publish/201803052242035387.jpg","description":"","live_id":221,"platform":"taobao","title":"翡翠加工源头只为高性价比而生"},{"according_to":"3246941648","add_time":1520047247,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=3246941648","cover":"http://img.jadelibrary.com/1520047245532.jpg","description":"","live_id":220,"platform":"taobao","title":"玉石吊坠挂件"},{"according_to":"671227122","add_time":1520046968,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=671227122","cover":"http://img.jadelibrary.com/1520046966687.jpg","description":"","live_id":219,"platform":"taobao","title":"玉石吊坠挂件"},{"according_to":"26924265","add_time":1520043639,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=26924265","cover":"http://img.jadelibrary.com/1520043638711.jpg","description":"","live_id":217,"platform":"taobao","title":"翡翠玉器手镯戒指"},{"according_to":"2680503052","add_time":1520043388,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=2680503052","cover":"http://img.jadelibrary.com/1520043387397.jpg","description":"","live_id":216,"platform":"taobao","title":"翡翠挂件吊坠手镯"},{"according_to":"2680462791","add_time":1520042270,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=2680462791","cover":"http://img.jadelibrary.com/1520042269122.jpg","description":"","live_id":215,"platform":"taobao","title":"翡翠玉器摆件挂件吊坠"},{"according_to":"2206361409","add_time":1520041283,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=2206361409","cover":"http://img.jadelibrary.com/1520041282605.jpg","description":"","live_id":214,"platform":"taobao","title":"玉石手镯吊坠"},{"according_to":"395160149","add_time":1519719859,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://img.jadelibrary.com/image/b53d987c2b6ac1b635f2dbecfb3a0d39.jpg","description":"","live_id":198,"platform":"taobao","title":"淘宝直播间"},{"according_to":"395160149","add_time":1518328343,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://img.jadelibrary.com//TGX/files/demand/publish/201802111350575643.jpg","description":"","live_id":118,"platform":"taobao","title":"微信-淘宝测试"},{"according_to":"395160149","add_time":1518314324,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://img.jadelibrary.com/TGX/files/demand/publish/201802131830342535.jpg","description":"","live_id":89,"platform":"taobao","title":"小林直播间"},{"according_to":"395160149","add_time":1511920837,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://jadebox.oss-cn-beijing.aliyuncs.com/1511920838770.jpg","description":"测试卡","live_id":30,"platform":"taobao","title":""},{"according_to":"3155391217","add_time":1510566544,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=3155391217","cover":"http://jadebox.oss-cn-beijing.aliyuncs.com/1510566532391.jpg","description":"发的方法","live_id":18,"platform":"taobao","title":""},{"according_to":"395160149","add_time":1507888598,"check_basis":"http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=395160149","cover":"http://jadebox.oss-cn-beijing.aliyuncs.com/TGX/files/demand/publish/201712201111401316.jpg","description":"OK","live_id":2,"platform":"taobao","title":""}]
         */

        private boolean has_next;
        private boolean has_prev;
        private List<RoomsBean> rooms;

        public boolean isHas_next() {
            return has_next;
        }

        public void setHas_next(boolean has_next) {
            this.has_next = has_next;
        }

        public boolean isHas_prev() {
            return has_prev;
        }

        public void setHas_prev(boolean has_prev) {
            this.has_prev = has_prev;
        }

        public List<RoomsBean> getRooms() {
            return rooms;
        }

        public void setRooms(List<RoomsBean> rooms) {
            this.rooms = rooms;
        }

        public static class RoomsBean {
            /**
             * according_to : 26924265
             * add_time : 1521181530
             * check_basis : http://huodong.m.taobao.com/act/talent/live.html?spm=a312a.7700718.0.0.2P862i&userId=26924265
             * cover : http://img.jadelibrary.com/1521181529558.jpg
             * description :
             * live_id : 226
             * platform : taobao
             * title : 玉器来看看
             */

            private String according_to;
            private int add_time;
            public String check_status = MainActivity.DEFAULT;
            public String setStatus = MainActivity.DEFAULT;
            private String check_basis;
            private String cover;
            private String description;
            private int live_id;
            private String platform;
            private String title;

            public String getAccording_to() {
                return according_to;
            }

            public void setAccording_to(String according_to) {
                this.according_to = according_to;
            }

            public int getAdd_time() {
                return add_time;
            }

            public void setAdd_time(int add_time) {
                this.add_time = add_time;
            }

            public String getCheck_basis() {
                return check_basis;
            }

            public void setCheck_basis(String check_basis) {
                this.check_basis = check_basis;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getLive_id() {
                return live_id;
            }

            public void setLive_id(int live_id) {
                this.live_id = live_id;
            }

            public String getPlatform() {
                return platform;
            }

            public void setPlatform(String platform) {
                this.platform = platform;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}
